<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page import="java.util.*"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<%	
	String result = request.getParameter("result");
	String error = "";
	if(result.equals("error")){
		error = "逻辑错误！";
	}
	
%>
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
		
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		
<title>生产物流统计系统</title>
		
		<!--                       CSS                       -->
	  
		<!-- Reset Stylesheet -->
		<link rel="stylesheet" href="resources/css/reset.css" type="text/css" media="screen" />
	  
		<!-- Main Stylesheet -->
		<link rel="stylesheet" href="resources/css/style.css" type="text/css" media="screen" />
		
		<!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid -->
		<link rel="stylesheet" href="resources/css/invalid.css" type="text/css" media="screen" />	
		
		<!-- Colour Schemes
	  
		Default colour scheme is green. Uncomment prefered stylesheet to use it.
		
		<link rel="stylesheet" href="resources/css/blue.css" type="text/css" media="screen" />
		
		<link rel="stylesheet" href="resources/css/red.css" type="text/css" media="screen" />  
	 
		-->
		
		<!-- Internet Explorer Fixes Stylesheet -->
		
		<!--[if lte IE 7]>
			<link rel="stylesheet" href="resources/css/ie.css" type="text/css" media="screen" />
		<![endif]-->
		
		<!--                       Javascripts                       -->
  
		<!-- jQuery -->
		<script type="text/javascript" src="resources/scripts/jquery-1.3.2.min.js"></script>
		
		<!-- jQuery Configuration -->
		<script type="text/javascript" src="resources/scripts/simpla.jquery.configuration.js"></script>
		
		<!-- Facebox jQuery Plugin -->
		<script type="text/javascript" src="resources/scripts/facebox.js"></script>
		
		<!-- jQuery WYSIWYG Plugin -->
		<script type="text/javascript" src="resources/scripts/jquery.wysiwyg.js"></script>
		
		<!-- jQuery Datepicker Plugin -->
		<script type="text/javascript" src="resources/scripts/jquery.datePicker.js"></script>
		<script type="text/javascript" src="resources/scripts/jquery.date.js"></script>
		<!--[if IE]><script type="text/javascript" src="resources/scripts/jquery.bgiframe.js"></script><![endif]-->

		
		<!-- Internet Explorer .png-fix -->
		
		<!--[if IE 6]>
			<script type="text/javascript" src="resources/scripts/DD_belatedPNG_0.0.7a.js"></script>
			<script type="text/javascript">
				DD_belatedPNG.fix('.png_bg, img, li');
			</script>
		<![endif]-->
		
	</head>
  
	<body>
	<p align="right"><a href="help.htm" target="_blank"><font size="7"></>使用说明</font></a></p>
	<div id="body-wrapper"> <!-- Wrapper for the radial gradient background -->
	
	<jsp:include flush="true" page="banner_viewer.jsp"></jsp:include>
		
		<div id="main-content"> <!-- Main Content Section with everything -->
			
			<!-- Page Head -->
			<h2>Welcome!</h2>
			<p id="page-intro">What would you like to do?</p>
			
			<div class="clear"></div> <!-- End .clear -->
			
			<div class="content-box"><!-- Start Content Box -->
				
				<div class="content-box-header">
					
					<h3>工单详细</h3>

					
					<div class="clear"></div>
					
				</div> <!-- End .content-box-header -->
				
				<div class="content-box-content">
					
						<label>
							<%=error%>
						</label>
						
					<div class="tab-content default-tab" id="tab1"> <!-- This is the target div. id must match the href of this div's tab -->
						<%if(error.equals("")){ %>
						<table class = "">
								<tr>
									<td><span>产品编号</span></td>
									<td>${bwf.proNo }</td>
				
									<td><span>产品名称</span></td>
									<td>${bwf.proName }</td>
										
								</tr>
								<tr>
									<td><span>批次号</span></td>
									<td>${bwf.batchNo }</td>
										
								</tr>
								<tr>
									<td><span>工序号</span></td>
									<td>${bwf.procNo }</td>
				
									<td><span>工序名称</span></td>
									<td>${bwf.procName }</td>
										
								</tr>
								<tr>
									<td><span>员工工号</span></td>
									<td>${bwf.staNo }</td>
				
									<td><span>员工姓名</span></td>
									<td>${bwf.staName }</td>
										
								</tr>
								<tr>
									<td><span>返工类别</span></td>
									<td>${bwf.kind }</td>
								</tr>
								<tr>
									
									<td><span>返工工时</span></td>
									<td>${bwf.workHours }</td>
								</tr>
								<tr>
									<td><span>责任人工号</span></td>
									<td>${bwf.respNo }</td>
								
									<td><span>责任人姓名</span></td>
									<td>${bwf.respName }</td>
								</tr>
								<tr>
									<td><span>审批人工号</span></td>
									<td>${bwf.checkNo }</td>
								
									<td><span>审批人用户名</span></td>
									<td>${bwf.checkName }</td>
								</tr>
								
								<tr>
									<td><span>统计员姓名</span></td>
									<td>${bwf.name }</td>
								</tr>
						</table>
						
						<%} %>
					</div> <!-- End #tab1 -->
					
  
					
				</div> <!-- End .content-box-content -->
				
			</div> <!-- End .content-box -->

			<div class="clear"></div>
			
			<jsp:include flush="true" page="footer.jsp"></jsp:include>
			
			
		</div> <!-- End #main-content -->
		
	</div></body>
  

<!-- Download From www.exet.tk-->
</html>
